package com.atguigu.springcloud.alibaba.myHandle;


import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

public class CustomerBlockHandle {
    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(444, "按客户自定义,global handleException");
    }

    public static CommonResult handleException2(BlockException exception) {
        return new CommonResult(444, "按客户自定义,global handleException-2");
    }
}

